package com.hex.ds.hdtp.core.inf.script.analyze.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hex.ds.hdtp.core.inf.script.analyze.po.ScriptAnalyzeListPo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @Package com.hex.ds.hdtp.core.inf.script.analyze.mapper
 * @ClassName IScriptAnalyzeListMapper
 * @Description 脚本分析清单-数据接口
 * @Author gj.xu
 * @Date 2023/12/8 14:31
 * @Version v2.0
 **/
@Repository
public interface IScriptAnalyzeListMapper extends BaseMapper<ScriptAnalyzeListPo> {

    IPage<ScriptAnalyzeListPo> queryListByPage(IPage<ScriptAnalyzeListPo> page, @Param("po") ScriptAnalyzeListPo scriptAnalyzeListPo);

    IPage<ScriptAnalyzeListPo> queryConsanguinityListByPage(IPage<ScriptAnalyzeListPo> toMyBatisPlusPage, @Param("po")
            ScriptAnalyzeListPo scriptAnalyzeListPo);

    Integer modifyStatus(String pkId, String status, String log);

    Integer modifyStartTs(String pkId, String StartTs);

    Integer modifyEndTs(String pkId, String EndTs);

}
